//
//  ListScreenTableViewCell.m
//  TheRoadAD
//
//  Created by 宁宁 on 16/9/8.
//  Copyright © 2016年 baixue. All rights reserved.
//

#import "ListScreenTableViewCell.h"

@implementation ListScreenTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
//选择
- (IBAction)choose:(id)sender {
    if ([_isSelected isEqualToString:@"NO"]) {
        [_chooseImg setImage:[UIImage imageNamed:@"icon_522"]];
        _isSelected = @"YES";
        _cellClick(0);
    }else{
        [_chooseImg setImage:[UIImage imageNamed:@"icon_422"]];
        _isSelected = @"NO";
        _cellClick(1);
    }
    
    
}
//通过
- (IBAction)pass:(id)sender {
    _cellClick(2);
}
//他人主页
- (IBAction)homePage:(id)sender {
    _cellClick(3);
}

@end
